home *** CD-ROM | disk | FTP | other *** search
- Path: hpscit.sc.hp.com!anderson
- From: anderson@ppg01.sc.hp.com (Allen Anderson)
- Newsgroups: comp.lang.c++
- Subject: Re: C++ compilers for Unix
- Date: 25 Jan 1996 22:07:52 GMT
- Organization: Hewlett Packard
- Message-ID: <4e8uvo$mrq@hpscit.sc.hp.com>
- References: <4dgh98$8pk@bcarh8ab.bnr.ca> <4dlqv4$7a_003@news.indirect.com> <fg20ott3v3.fsf@pccom1-156.csci.csc.com>
- NNTP-Posting-Host: ppg01.sc.hp.com
- X-Newsreader: TIN [version 1.2 PL2.2]
-
- Simon Pamment (spamment@pccom1-156.csci.csc.com) wrote:
-
- : In article <4dlqv4$7a_003@news.indirect.com> chrism@xroads.com (Chris McCabe) writes:
-
- : > In article <4dgh98$8pk@bcarh8ab.bnr.ca>, Stephen Hui <stu2r41@bnr.ca> wrote:
- : > >I am looking for C++ compilers to run under HP-UX especially compilers that
- : > >generate compact code. Any information is appreciated. thanks
- : > >
- : >
- : > I strongly recommend using the GNU C++ compiler. It generates good,
- : > efficient code, and you will be able to compile on other UNIX platforms
- : > with little or no changes to the code. I have had far fewer problems
- : > with GNU than with HP's compiler.
- : > One note - if you are building shared libraries, check to see if the
- : > compiler you choose supports it. I'm not sure if GNU does or not.
- : >
- : > -Chris
- : >
-
- : I'll second that motion as we too have had numerous problems with
- : HP's compiler. The last project I worked on was developed using
- : GNU's C++ compiler. We have since attempted to compile the existing
- : code with HP's compiler but without success. We enlisted HP's help
- : but in the end it was to no avail. Some things would simply not
- : compile while others required us to violate the standard to get
- : them to compile (which does nothing for portability).
-
- Yep...I use G++ whenever I have to use one of our HP-UX machines. I'm more of a
- Linux fan, anyway...It works well, and is a bit better maintained than HP's.
-
- Also, the current version for linux (2.7.3, I believe) definately does support shared
- libs. I believe the the HP-UX build does, as well.
-
-
- --
- Allan Anderson -- anderson@ppg01.sc.hp.com
- ------------------------------------------
- "Hug me till you drug me, honey;
- Kiss me till I'm in a coma:
- Hug me, honey, snuggly bunny;
- Love's as good as *soma*."
- -- _Brave New World_, by Aldous Huxley
-